package cn.thr;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients("cn.thr.ymcc.client")
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
@EnableCaching  //自动开启springCaching
public class MediaServiceApp {
    public static void main(String[] args) {
        SpringApplication.run(MediaServiceApp.class);
    }
}